<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title><?=$title;?></title>
		<link rel="stylesheet" type="text/css" href="<?=$views_home;?>css/base.css"/>
		
		
		<style>
		.num_two{
			width:970px;
			border:1px #ccc solid;
			margin:0 auto;
	
		}

		.num_two_head{
			width: 960px;
			height: 30px;
			margin: 0 auto;
			padding-left: 10px;
			background: #ecf2f5;
			font-size: 16px;
			color: #336699;
			line-height: 30px;
		}

		.num_two_1{
			width:950px;
			height: 60px;
			background: #fff;
			margin: 0 auto;
			border-top: 1px #ccc dashed;
		}
		.num_two_pic_1{
			width:70px;
			height: 60px;
			background: url('<?=$views_home;?>image/body_pic.png')no-repeat;
			float: left;
			cursor: pointer;
		}
		.num_two_1_left{
			width:170px;
			height: 60px;
			background: #fff;
			float: left;

		}
		.num_two_1_left_p1{

			font-size: 15px;
			font-weight:bold;
			margin-top: 10px;
			cursor: pointer;
		}


		
		.num_two_1_mid{
			width:50px;
			height: 60px;
			background: #fff;
			float: left;
			margin-left: 400px;
			line-height: 60px;
			text-align: center;

		}


		.num_two_1_right{
			width:200px;
			height: 60px;
			background: #fff;
			float: left;
			margin-left: 20px;
			text-align:center;
		
		}
		.num_two_1_right_a{
			display: inline-block; 
			margin-top: 10px;

		}

		
			
	
		</style>
	</head>
	<body>
		<?php if($_GET['bigid'] == null  || $_GET['bigid'] == 2):?>
		<div class="num_two">
			<?php foreach($res2 as $k2 => $v2):?>
			<?php if($v2['parentid'] == 0):?>
			<p class="num_two_head">
				
				<a style="color:blue;" href="<?=$web_site;?>index.php?bigid=<?=$data0[$i]['orderby'];?>"><?=$v2['classname'];?></a>

			</p>
			<?php endif;?>
			

			<?php foreach($res2 as $k3 => $v3):?>
			<?php if($v3['cid'] == $v2['classid']):?>
			<div class="num_two_1 clearFix">
			
				<p class="num_two_pic_1"></p>
				<div class="num_two_1_left">
					<p class="num_two_1_left_p1"><a href="<?=$web_site;?>public.php?classid=<?=$v3['cid'];?>"><?=$v3['classname'];?></a></p>
					<p class="num_two_1_left_p2">版主：<?=$v3['compere'];?></p>
				</div>

				<div class="num_two_1_mid">11/9</div>

				<div class="num_two_1_right">
					<a class="num_two_1_right_a" href=""></a>  
					<p><?=$v3['addtime'];?> admin</p>
				</div>
				
			</div>
			<?php endif;?>
			<?php endforeach;?>
     	</div>
     	<?php endforeach;?>
		<?php endif;?>
	</body>	
</html>
